package com.ruoyi.yipaiju.mapper;

import java.util.List;
import com.ruoyi.yipaiju.domain.TagDiscountHouse;
import org.apache.ibatis.annotations.Param;

/**
 * fo_tag_discount_houseMapper接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface TagDiscountHouseMapper 
{
    /**
     * 查询fo_tag_discount_house
     * 
     * @param id fo_tag_discount_house主键
     * @return fo_tag_discount_house
     */
    public TagDiscountHouse selectTagDiscountHouseById(Long id);

    /**
     * 查询fo_tag_discount_house列表
     * 
     * @param tagDiscountHouse fo_tag_discount_house
     * @return fo_tag_discount_house集合
     */
    public List<TagDiscountHouse> selectTagDiscountHouseList(TagDiscountHouse tagDiscountHouse);

    /**
     * 可以业务主键查询一条fo_tag_discount_house
     *
     * @param tagDiscountHouse fo_tag_discount_house
     * @return fo_tag_discount_house集合
     */
    public TagDiscountHouse selectOneTagDiscountHouse(TagDiscountHouse tagDiscountHouse);

    /**
     * 新增fo_tag_discount_house
     * 
     * @param tagDiscountHouse fo_tag_discount_house
     * @return 结果
     */
    public int insertTagDiscountHouse(TagDiscountHouse tagDiscountHouse);

    /**
     * 修改fo_tag_discount_house
     * 
     * @param tagDiscountHouse fo_tag_discount_house
     * @return 结果
     */
    public int updateTagDiscountHouse(TagDiscountHouse tagDiscountHouse);

    /**
     * 条件修改fo_tag_discount_house
     *
     * @param tagDiscountHouse fo_tag_discount_house
     * @param tagDiscountHouse fo_tag_discount_house条件
     * @return 结果
     */
    public int updateTagDiscountHouseCondition(@Param("tagDiscountHouse") TagDiscountHouse tagDiscountHouse, @Param("tagDiscountHouseCondition") TagDiscountHouse tagDiscountHouseCondition);

    /**
     * 删除fo_tag_discount_house
     * 
     * @param id fo_tag_discount_house主键
     * @return 结果
     */
    public int deleteTagDiscountHouseById(Long id);

    /**
     * 条件删除fo_tag_discount_house
     *
     * @param tagDiscountHouse fo_tag_discount_house
     * @return 结果
     */
    public int deleteTagDiscountHouseByCondition(TagDiscountHouse tagDiscountHouse);

    /**
     * 批量删除fo_tag_discount_house
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTagDiscountHouseByIds(Long[] ids);
}
